#ifndef __AWP1921_WAVE_H__
#define __AWP1921_WAVE_H__

#define AWP1912_SLICE0_400_POINTS 400
#define AWP1912_SLICE1_400_POINTS 400

#define AWP1912_SLICE0_START_ADDR 0x0004
#define AWP1912_SLICE1_START_ADDR 0x0200

#define AWP1912_SLICE_NUMBER_MAX 0x0002 /* 目前只需要使用两种不同类型的波形 */



/* 正弦波形 200point一个周期, slice0用于SRAM播放 */
static const uint16_t g_slice0_start_addr_0x0004_60V_400point_sinc[AWP1912_SLICE1_400_POINTS] =
{
    0x0829,
    0x0851,
    0x087A,
    0x08A2,
    0x08CA,
    0x08F2,
    0x091A,
    0x0941,
    0x0968,
    0x098F,
    0x09B6,
    0x09DC,
    0x0A01,
    0x0A26,
    0x0A4B,
    0x0A6E,
    0x0A92,
    0x0AB4,
    0x0AD6,
    0x0AF7,
    0x0B18,
    0x0B38,
    0x0B56,
    0x0B74,
    0x0B92,
    0x0BAE,
    0x0BC9,
    0x0BE3,
    0x0BFD,
    0x0C15,
    0x0C2D,
    0x0C43,
    0x0C58,
    0x0C6C,
    0x0C7F,
    0x0C91,
    0x0CA2,
    0x0CB1,
    0x0CC0,
    0x0CCD,
    0x0CD9,
    0x0CE3,
    0x0CED,
    0x0CF5,
    0x0CFC,
    0x0D02,
    0x0D06,
    0x0D09,
    0x0D0B,
    0x0D0C,
    0x0D0B,
    0x0D09,
    0x0D06,
    0x0D02,
    0x0CFC,
    0x0CF5,
    0x0CED,
    0x0CE3,
    0x0CD9,
    0x0CCD,
    0x0CC0,
    0x0CB1,
    0x0CA2,
    0x0C91,
    0x0C7F,
    0x0C6C,
    0x0C58,
    0x0C43,
    0x0C2D,
    0x0C15,
    0x0BFD,
    0x0BE3,
    0x0BC9,
    0x0BAE,
    0x0B92,
    0x0B74,
    0x0B56,
    0x0B38,
    0x0B18,
    0x0AF7,
    0x0AD6,
    0x0AB4,
    0x0A92,
    0x0A6E,
    0x0A4B,
    0x0A26,
    0x0A01,
    0x09DC,
    0x09B6,
    0x098F,
    0x0968,
    0x0941,
    0x091A,
    0x08F2,
    0x08CA,
    0x08A2,
    0x087A,
    0x0851,
    0x0829,
    0x0800,
    0x07D8,
    0x07B0,
    0x0787,
    0x075F,
    0x0737,
    0x070F,
    0x06E7,
    0x06C0,
    0x0699,
    0x0672,
    0x064B,
    0x0625,
    0x0600,
    0x05DB,
    0x05B6,
    0x0593,
    0x056F,
    0x054D,
    0x052B,
    0x050A,
    0x04E9,
    0x04C9,
    0x04AB,
    0x048D,
    0x046F,
    0x0453,
    0x0438,
    0x041D,
    0x0404,
    0x03EC,
    0x03D4,
    0x03BE,
    0x03A9,
    0x0395,
    0x0382,
    0x0370,
    0x035F,
    0x0350,
    0x0341,
    0x0334,
    0x0328,
    0x031E,
    0x0314,
    0x030C,
    0x0305,
    0x02FF,
    0x02FB,
    0x02F8,
    0x02F6,
    0x02F5,
    0x02F6,
    0x02F8,
    0x02FB,
    0x02FF,
    0x0305,
    0x030C,
    0x0314,
    0x031E,
    0x0328,
    0x0334,
    0x0341,
    0x0350,
    0x035F,
    0x0370,
    0x0382,
    0x0395,
    0x03A9,
    0x03BE,
    0x03D4,
    0x03EC,
    0x0404,
    0x041D,
    0x0438,
    0x0453,
    0x046F,
    0x048D,
    0x04AB,
    0x04C9,
    0x04E9,
    0x050A,
    0x052B,
    0x054D,
    0x056F,
    0x0593,
    0x05B6,
    0x05DB,
    0x0600,
    0x0625,
    0x064B,
    0x0672,
    0x0699,
    0x06C0,
    0x06E7,
    0x070F,
    0x0737,
    0x075F,
    0x0787,
    0x07B0,
    0x07D8,
    0x0800,
    0x0829,
    0x0851,
    0x087A,
    0x08A2,
    0x08CA,
    0x08F2,
    0x091A,
    0x0941,
    0x0968,
    0x098F,
    0x09B6,
    0x09DC,
    0x0A01,
    0x0A26,
    0x0A4B,
    0x0A6E,
    0x0A92,
    0x0AB4,
    0x0AD6,
    0x0AF7,
    0x0B18,
    0x0B38,
    0x0B56,
    0x0B74,
    0x0B92,
    0x0BAE,
    0x0BC9,
    0x0BE3,
    0x0BFD,
    0x0C15,
    0x0C2D,
    0x0C43,
    0x0C58,
    0x0C6C,
    0x0C7F,
    0x0C91,
    0x0CA2,
    0x0CB1,
    0x0CC0,
    0x0CCD,
    0x0CD9,
    0x0CE3,
    0x0CED,
    0x0CF5,
    0x0CFC,
    0x0D02,
    0x0D06,
    0x0D09,
    0x0D0B,
    0x0D0C,
    0x0D0B,
    0x0D09,
    0x0D06,
    0x0D02,
    0x0CFC,
    0x0CF5,
    0x0CED,
    0x0CE3,
    0x0CD9,
    0x0CCD,
    0x0CC0,
    0x0CB1,
    0x0CA2,
    0x0C91,
    0x0C7F,
    0x0C6C,
    0x0C58,
    0x0C43,
    0x0C2D,
    0x0C15,
    0x0BFD,
    0x0BE3,
    0x0BC9,
    0x0BAE,
    0x0B92,
    0x0B74,
    0x0B56,
    0x0B38,
    0x0B18,
    0x0AF7,
    0x0AD6,
    0x0AB4,
    0x0A92,
    0x0A6E,
    0x0A4B,
    0x0A26,
    0x0A01,
    0x09DC,
    0x09B6,
    0x098F,
    0x0968,
    0x0941,
    0x091A,
    0x08F2,
    0x08CA,
    0x08A2,
    0x087A,
    0x0851,
    0x0829,
    0x0800,
    0x07D8,
    0x07B0,
    0x0787,
    0x075F,
    0x0737,
    0x070F,
    0x06E7,
    0x06C0,
    0x0699,
    0x0672,
    0x064B,
    0x0625,
    0x0600,
    0x05DB,
    0x05B6,
    0x0593,
    0x056F,
    0x054D,
    0x052B,
    0x050A,
    0x04E9,
    0x04C9,
    0x04AB,
    0x048D,
    0x046F,
    0x0453,
    0x0438,
    0x041D,
    0x0404,
    0x03EC,
    0x03D4,
    0x03BE,
    0x03A9,
    0x0395,
    0x0382,
    0x0370,
    0x035F,
    0x0350,
    0x0341,
    0x0334,
    0x0328,
    0x031E,
    0x0314,
    0x030C,
    0x0305,
    0x02FF,
    0x02FB,
    0x02F8,
    0x02F6,
    0x02F5,
    0x02F6,
    0x02F8,
    0x02FB,
    0x02FF,
    0x0305,
    0x030C,
    0x0314,
    0x031E,
    0x0328,
    0x0334,
    0x0341,
    0x0350,
    0x035F,
    0x0370,
    0x0382,
    0x0395,
    0x03A9,
    0x03BE,
    0x03D4,
    0x03EC,
    0x0404,
    0x041D,
    0x0438,
    0x0453,
    0x046F,
    0x048D,
    0x04AB,
    0x04C9,
    0x04E9,
    0x050A,
    0x052B,
    0x054D,
    0x056F,
    0x0593,
    0x05B6,
    0x05DB,
    0x0600,
    0x0625,
    0x064B,
    0x0672,
    0x0699,
    0x06C0,
    0x06E7,
    0x070F,
    0x0737,
    0x075F,
    0x0787,
    0x07B0,
    0x07D8,
    0x0800

};

/* 高斯波形 400point一个周期 , slice1 用于按钮播放 */
static const uint16_t g_slice1_start_addr_0x0200_60V_400point_gauss[AWP1912_SLICE1_400_POINTS] =
{
    0x0838,
    0x0861,
    0x088A,
    0x08B3,
    0x08DC,
    0x0905,
    0x092E,
    0x0955,
    0x097D,
    0x09A5,
    0x09CD,
    0x09F4,
    0x0A1A,
    0x0A40,
    0x0A66,
    0x0A8B,
    0x0AB0,
    0x0AD3,
    0x0AF6,
    0x0B19,
    0x0B3B,
    0x0B5D,
    0x0B7C,
    0x0B9C,
    0x0BBB,
    0x0BD9,
    0x0BF6,
    0x0C11,
    0x0C2D,
    0x0C47,
    0x0C61,
    0x0C79,
    0x0C90,
    0x0CA6,
    0x0CBB,
    0x0CD0,
    0x0CE3,
    0x0CF4,
    0x0D06,
    0x0D16,
    0x0D24,
    0x0D31,
    0x0D3E,
    0x0D49,
    0x0D53,
    0x0D5C,
    0x0D63,
    0x0D69,
    0x0D6E,
    0x0D73,
    0x0D75,
    0x0D77,
    0x0D78,
    0x0D77,
    0x0D75,
    0x0D72,
    0x0D6E,
    0x0D69,
    0x0D63,
    0x0D5B,
    0x0D53,
    0x0D49,
    0x0D3E,
    0x0D32,
    0x0D25,
    0x0D17,
    0x0D09,
    0x0CF9,
    0x0CE8,
    0x0CD6,
    0x0CC4,
    0x0CB0,
    0x0C9B,
    0x0C87,
    0x0C71,
    0x0C59,
    0x0C42,
    0x0C2A,
    0x0C11,
    0x0BF7,
    0x0BDD,
    0x0BC2,
    0x0BA7,
    0x0B8A,
    0x0B6F,
    0x0B51,
    0x0B34,
    0x0B17,
    0x0AF9,
    0x0ADA,
    0x0ABB,
    0x0A9D,
    0x0A7E,
    0x0A5F,
    0x0A40,
    0x0A21,
    0x0A02,
    0x09E2,
    0x09C3,
    0x09A3,
    0x0985,
    0x0967,
    0x0947,
    0x0929,
    0x090B,
    0x08ED,
    0x08CF,
    0x08B3,
    0x0896,
    0x0879,
    0x085D,
    0x0842,
    0x0827,
    0x080D,
    0x07F3,
    0x07DB,
    0x07C2,
    0x07AB,
    0x0795,
    0x077F,
    0x0769,
    0x0755,
    0x0742,
    0x0730,
    0x071D,
    0x070D,
    0x06FD,
    0x06EE,
    0x06E1,
    0x06D4,
    0x06C8,
    0x06BE,
    0x06B5,
    0x06AC,
    0x06A5,
    0x069F,
    0x069A,
    0x0696,
    0x0693,
    0x0692,
    0x0691,
    0x0693,
    0x0694,
    0x0698,
    0x069C,
    0x06A2,
    0x06A9,
    0x06B1,
    0x06BA,
    0x06C4,
    0x06D0,
    0x06DD,
    0x06EB,
    0x06F9,
    0x070A,
    0x071B,
    0x072D,
    0x0741,
    0x0755,
    0x076B,
    0x0782,
    0x079A,
    0x07B3,
    0x07CD,
    0x07E8,
    0x0803,
    0x0820,
    0x083D,
    0x085C,
    0x087C,
    0x089B,
    0x08BC,
    0x08DE,
    0x0900,
    0x0923,
    0x0948,
    0x096C,
    0x0991,
    0x09B6,
    0x09DD,
    0x0A04,
    0x0A2B,
    0x0A52,
    0x0A7A,
    0x0AA2,
    0x0ACB,
    0x0AF4,
    0x0B1C,
    0x0B46,
    0x0B70,
    0x0B99,
    0x0BC3,
    0x0BEC,
    0x0C16,
    0x0C3F,
    0x0C69,
    0x0C92,
    0x0CBB,
    0x0CE4,
    0x0D0C,
    0x0D35,
    0x0D5C,
    0x0D85,
    0x0DAC,
    0x0DD2,
    0x0DF9,
    0x0E1F,
    0x0E44,
    0x0E68,
    0x0E8D,
    0x0EB1,
    0x0ED3,
    0x0EF5,
    0x0F16,
    0x0F37,
    0x0F55,
    0x0F75,
    0x0F92,
    0x0FAF,
    0x0FCA,
    0x0FE5,
    0x0FFF,
    0x0FFF,
    0x0FFF,
    0x0FFF,
    0x0FFF,
    0x0FFF,
    0x0FFF,
    0x0FFF,
    0x0FFF,
    0x0FFF,
    0x0FFF,
    0x0FFF,
    0x0FFF,
    0x0FFF,
    0x0FFF,
    0x0FFF,
    0x0FFF,
    0x0FFF,
    0x0FFF,
    0x0FFF,
    0x0FFF,
    0x0FFF,
    0x0FFF,
    0x0FFF,
    0x0FFF,
    0x0FFF,
    0x0FFF,
    0x0FFF,
    0x0FFF,
    0x0FFF,
    0x0FFF,
    0x0FFF,
    0x0FFF,
    0x0FFF,
    0x0FFF,
    0x0FFF,
    0x0FFF,
    0x0FFF,
    0x0FFF,
    0x0FFF,
    0x0FF7,
    0x0FDD,
    0x0FC0,
    0x0FA2,
    0x0F83,
    0x0F64,
    0x0F43,
    0x0F21,
    0x0EFD,
    0x0EDA,
    0x0EB4,
    0x0E8E,
    0x0E68,
    0x0E40,
    0x0E17,
    0x0DED,
    0x0DC4,
    0x0D98,
    0x0D6C,
    0x0D40,
    0x0D12,
    0x0CE5,
    0x0CB6,
    0x0C88,
    0x0C58,
    0x0C28,
    0x0BF9,
    0x0BC8,
    0x0B96,
    0x0B65,
    0x0B34,
    0x0B02,
    0x0AD0,
    0x0A9E,
    0x0A6C,
    0x0A3A,
    0x0A08,
    0x09D6,
    0x09A3,
    0x0972,
    0x0941,
    0x090F,
    0x08DE,
    0x08AD,
    0x087C,
    0x084B,
    0x081C,
    0x07EC,
    0x07BD,
    0x078E,
    0x0760,
    0x0733,
    0x0706,
    0x06DA,
    0x06AF,
    0x0684,
    0x065B,
    0x0632,
    0x060A,
    0x05E2,
    0x05BB,
    0x0597,
    0x0572,
    0x054E,
    0x052C,
    0x050A,
    0x04EA,
    0x04CB,
    0x04AD,
    0x048F,
    0x0474,
    0x045A,
    0x0440,
    0x0428,
    0x0411,
    0x03FB,
    0x03E8,
    0x03D4,
    0x03C2,
    0x03B2,
    0x03A4,
    0x0395,
    0x0389,
    0x037E,
    0x0374,
    0x036D,
    0x0366,
    0x0360,
    0x035C,
    0x0359,
    0x0358,
    0x0358,
    0x0359,
    0x035C,
    0x0360,
    0x0365,
    0x036C,
    0x0373,
    0x037D,
    0x0387,
    0x0393,
    0x03A0,
    0x03AF,
    0x03BE,
    0x03CF,
    0x03E1,
    0x03F4,
    0x0408,
    0x041E,
    0x0434,
    0x044B,
    0x0465,
    0x047E,
    0x0498,
    0x04B5,
    0x04D1,
    0x04EE,
    0x050C,
    0x052C,
    0x054B,
    0x056C,
    0x058D,
    0x05B0,
    0x05D1,
    0x05F5,
    0x0619,
    0x063D,
    0x0662,
    0x0688,
    0x06AE,
    0x06D4,
    0x06FB,
    0x0722,
    0x0749,
    0x0770,
    0x0797,
    0x07C0,
    0x07E7,
    0x080E
};

#endif
